#include "XRequestReaderThread.h"

namespace Xts
{
	namespace Util
	{
		XRequestReaderThread::XRequestReaderThread(const XRequestQueuePtr& pRequestJobQueue)
			:x_pRequestJobQueue(pRequestJobQueue)
		{
		}


		XRequestReaderThread::~XRequestReaderThread(void)
		{
		}


		void XRequestReaderThread::run()
		{
			while (x_pRequestJobQueue->Dequeue()->Execute())
			{
			}
		}
	}
}


